Hello,
I have a class that is a singleton. However I need more instances of that class, so I am interested do I have to rewrite the class, or I can adapt it to loose that functionality whithout touch that class?
I don`t want to touch the library class, just to add it an extra feat of not being only Singleton.Code:class MyClass : private SingletonClass { ... MyClass m_instances[3]; };